using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Org.Loon.Framework.Xna.Game.Action.Scripting
{
    public class UserFunction : Function {

	private string name;

    public UserFunction(string name)
    {
		this.name = name;
	}

    public override void Update(ScriptFactory engine, Stack<StackFrame> stack, Callback callback)
    {
		callback.Function(name);
	}

	public String GetName() {
		return name;
	}

}

}
